import { IFileEditor, IEditorUI } from "../editorbase.js";
import { Text_EditorUI } from "./editor.js";
import * as EUI from "../../eui/EUI.js"
export class Text_Editor implements IFileEditor {
    getName(): string {
        return "Text";
    }
    getCareExts(): string[] {
        return [".txt", ".json", ".cmd"];
    }
    newEditorUI(): IEditorUI {
        return new Text_EditorUI();
    }

    supportNewFile(): boolean {
        return true;
    }
    async newFileAsync(filename: string, win: EUI.EUI_Window): Promise<boolean> {
        return false;
    }

}